namespace WFTest.Entity
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class V_AP_PAYBILL
    {
        public int? FENTRYID { get; set; }

        [Key]
        [Column(Order = 0)]
        [StringLength(50)]
        public string F_VIVH_TEXT_QTR1 { get; set; }

        [Key]
        [Column(Order = 1)]
        [StringLength(30)]
        public string FBILLNO { get; set; }

        [Key]
        [Column(Order = 2)]
        [StringLength(8)]
        public string FDOCUMENTSTATUS { get; set; }

        [StringLength(255)]
        public string FBILLTYPE { get; set; }

        [StringLength(80)]
        public string FPURPOSE { get; set; }

        [StringLength(255)]
        public string FPAYORG { get; set; }

        [StringLength(80)]
        public string FCURRENCY { get; set; }

        public decimal? FPAYAMOUNTFOR { get; set; }

        [Key]
        [Column(Order = 3)]
        public decimal FREALPAYAMOUNTFOR { get; set; }

        [Key]
        [Column(Order = 4)]
        public DateTime FDATE { get; set; }

        public DateTime? FAPPROVEDATE { get; set; }

        [StringLength(500)]
        public string FCOMMENT { get; set; }

        [StringLength(2500)]
        public string FREMARK { get; set; }
    }
}
